package jsu.yym.tiktok.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(value = "fans")
public class Fans {
    private String username;
    private String personId;
    @TableId(value = "pk_id",type = IdType.AUTO)
    private int pkId;

    public Fans() {
    }

    public Fans(String username, String personId) {
        this.username = username;
        this.personId = personId;
    }
}
